package com.deyuanyun.pic.web.timedtask;

import com.deyuanyun.pic.common.util.coordinates.CoordinateVO;

/**
 * Created by xu on 2016/1/26.
 * 定时任务的表信息
 */
public class TaskTableInfo {
    private String tableName;
    private String x;
    private String y;
    private String z;
    private String bdx;//convert_x
    private String bdy;
    private String id;
    private String bdxName;
    private String bdyName;


    public String getZ() {
        return z;
    }

    public void setZ(String z) {
        this.z = z;
    }

    public String getBdxName() {
        return bdxName;
    }

    public void setBdxName(String bdxName) {
        this.bdxName = bdxName;
    }

    public String getBdyName() {
        return bdyName;
    }

    public void setBdyName(String bdyName) {
        this.bdyName = bdyName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    public String getBdx() {
        return bdx;
    }

    public void setBdx(String bdx) {
        this.bdx = bdx;
    }

    public String getBdy() {
        return bdy;
    }

    public void setBdy(String bdy) {
        this.bdy = bdy;
    }

    public CoordinateVO toCoord(){
        CoordinateVO coordinateVO=new CoordinateVO();
        coordinateVO.setGisX(this.getX());
        coordinateVO.setGisY(this.getY());
        coordinateVO.setZ(this.getZ());
        coordinateVO.setTableName(this.getTableName());
        coordinateVO.setId(this.getId());
        return coordinateVO;
    }
}
